﻿using OPM.Library.Models;

namespace OPM.Models
{
    public class User
    {
        public GetTokenResult GetTokenResult { get; set; }
        public string Token { get { return GetTokenResult.token_id; } }
        public string UserName { get { return GetTokenResult.user_name; } }
        public string OfficerId { get { return GetTokenResult.officer_id; } }
        public string OfficerName { get { return GetTokenResult.officer_name; } }
        public string OtherName { get { return GetTokenResult.other_name; } }
        public string RoleId { get { return GetTokenResult.role_id; } }
        public string RoleName { get { return GetTokenResult.role_name; } }
        public string OrgId { get { return GetTokenResult.org_id; } }
        public string OrgName { get { return GetTokenResult.org_name; } }
        public string Position { get { return GetTokenResult.position; } }
        public int RowPerPage { get { return GetTokenResult.row_per_page; } }
        public string DefaultLanguage { get { return default_language; } }


        public string officer_id { get; set; }
        public string officer_name { get; set; }
        public string role_id { get; set; }
        public object role_text { get; set; }
        public string org_id { get; set; }
        public object org_text { get; set; }
        public string other_name { get; set; }
        public string id { get; set; }
        public string language { get; set; }
        public string user_name { get; set; }
        public object server_name { get; set; }
        public object session_type { get; set; }
        public object session_type_text { get; set; }
        public string session_time { get; set; }
        public int row_per_page { get { return GetTokenResult.row_per_page; } }
        public string default_language { get; set; }

    }
}